tenta isso.
if (getPlayerStorageValue(cid, 102087) ~= 1) then setPlayerStorageValue(cid, 102087, 1) setPlayerStorageValue(cid, 102086, 0)
muda a sua storage. a q ta e pra kal vai como ali em cima.
Por Flaah, 26 de jul. de 2012 em Scripts
info
Grupo: Visconde
Registrado: 19/07/12
Posts: 395
Reputação: +36
Char no Tibia: Billy Poul

tenta isso.
if (getPlayerStorageValue(cid, 102087) ~= 1) then setPlayerStorageValue(cid, 102087, 1) setPlayerStorageValue(cid, 102086, 0)
muda a sua storage. a q ta e pra kal vai como ali em cima.
info
Grupo: Barão
Registrado: 26/12/11
Posts: 201
Reputação: +18
Char no Tibia: Flaah

Meu Login.lua ta assim:
E não deu certo, ele continua voltando pra vocation anterior quando o player sai e volta, mesmo eu tendo falado com o NPC Reborn.
Login.lua
local message = [[Welcome To The Pollo ServerParA Tener El Bless di
!Bless ---- blessing
!aol ------ amulet of lost
!prision -- Magic Wall Prision
!]]
function onLogin(cid)
registerCreatureEvent(cid, "PlayerKill")
if (InitArenaScript ~= 0) then
InitArenaScript = 1
-- make arena rooms free
for i = 42300, 42309 do
setGlobalStorageValue(i, 0)
setGlobalStorageValue(i+100, 0)
end
end
-- if he did not make full arena 1 he must start from zero
if getPlayerStorageValue(cid, 42309) < 1 then
for i = 42300, 42309 do
setPlayerStorageValue(cid, i, 0)
end
end
-- if he did not make full arena 2 he must start from zero
if getPlayerStorageValue(cid, 42319) < 1 then
for i = 42310, 42319 do
setPlayerStorageValue(cid, i, 0)
end
end
-- if he did not make full arena 3 he must start from zero
if getPlayerStorageValue(cid, 42329) < 1 then
for i = 42320, 42329 do
setPlayerStorageValue(cid, i, 0)
end
end
if getPlayerStorageValue(cid, 42355) == -1 then
setPlayerStorageValue(cid, 42355, 0) -- did not arena level
end
setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
setPlayerStorageValue(cid, 42352, 0) -- is not in arena
doPlayerPopupFYI(cid, message)
registerCreatureEvent(cid, "PlayerDeath")
--registerCreatureEvent(cid, "MEDALS") This is Nahruto's Metal System for killing someone, Dont add this unless you use it.--
registerCreatureEvent(cid, "KilledMonstersCounter")
registerCreatureEvent(cid, "playeradvance")
registerCreatureEvent(cid, "RepSystem")
registerCreatureEvent(cid, "showRep")
registerCreatureEvent(cid, "RepLogin")
registerCreatureEvent(cid, "task_count")
if (getPlayerStorageValue(cid, 30025) ~= 1) then
setPlayerStorageValue(cid, 30025, 1)
setPlayerStorageValue(cid, 30025, 0)
end
return TRUE
end
ALGUEM AJUDA PORFAVOR, VALENDO +REP
info
Grupo: Visconde
Registrado: 19/07/12
Posts: 395
Reputação: +36
Char no Tibia: Billy Poul

local message = [[Welcome To The Pollo Server ParA Tener El Bless di !Bless ---- blessing !aol ------ amulet of lost !prision -- Magic Wall Prision !]] function onLogin(cid) registerCreatureEvent(cid, "PlayerKill") if (InitArenaScript ~= 0) then InitArenaScript = 1 -- make arena rooms free for i = 42300, 42309 do setGlobalStorageValue(i, 0) setGlobalStorageValue(i+100, 0) end end -- if he did not make full arena 1 he must start from zero if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 2 he must start from zero if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end -- if he did not make full arena 3 he must start from zero if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) -- did not arena level end setPlayerStorageValue(cid, 42350, 0) -- time to kick 0 setPlayerStorageValue(cid, 42352, 0) -- is not in arena doPlayerPopupFYI(cid, message) registerCreatureEvent(cid, "PlayerDeath") --registerCreatureEvent(cid, "MEDALS") This is Nahruto's Metal System for killing someone, Dont add this unless you use it.-- if (getPlayerStorageValue(cid, 102087) ~= 1) then setPlayerStorageValue(cid, 102087, 1) setPlayerStorageValue(cid, 102086, 0) end registerCreatureEvent(cid, "KilledMonstersCounter") registerCreatureEvent(cid, "playeradvance") registerCreatureEvent(cid, "RepSystem") registerCreatureEvent(cid, "showRep") registerCreatureEvent(cid, "RepLogin") registerCreatureEvent(cid, "task_count") if (getPlayerStorageValue(cid, 30025) ~= 1) then setPlayerStorageValue(cid, 30025, 1) setPlayerStorageValue(cid, 30025, 0) end return TRUE end
tentai.
info
Grupo: Barão
Registrado: 26/12/11
Posts: 201
Reputação: +18
Char no Tibia: Flaah

Cara ta com o meeeeeeesmo problema, ele vola pra vocation anterior...
Sera que n em q uzar a função: function onLogout(cid)
Em?
ALGUEM AJUDA PORFAVOR, VALENDO +REP
info
Grupo: Visconde
Registrado: 19/07/12
Posts: 395
Reputação: +36
Char no Tibia: Billy Poul

eu creio que nao.. mais testa ai
info
Grupo: Barão
Registrado: 26/12/11
Posts: 201
Reputação: +18
Char no Tibia: Flaah

Ixi deu não.. ele continua voltando pra vocation anterior quando ele sai e volta. ![]()
ALGUEM AJUDA PORFAVOR, VALENDO +REP
Editado Julho 27 por Flaah
info
Grupo: Visconde
Registrado: 19/07/12
Posts: 395
Reputação: +36
Char no Tibia: Billy Poul

nao sei mais uq tentar. sorry =/
info
Grupo: Barão
Registrado: 26/12/11
Posts: 201
Reputação: +18
Char no Tibia: Flaah

Mais vou te da o +REP pela tentativa ;(
PS: Cade o Vodkart quando agente precisa, ;(
ALGUEM AJUDA PORFAVOR, VALENDO +REP
info
Grupo: Visconde
Registrado: 19/07/12
Posts: 395
Reputação: +36
Char no Tibia: Billy Poul

vou pesquisar mais aqui. se o vod nao ajudar antes.
info
Grupo: Banidos
Registrado: 25/07/12
Posts: 94
Reputação: +5
Char no Tibia: SevenSiin

Cara,que tal voce mandar PM pro Vodkart,so uma opniao Fuiz
info
Grupo: Visconde
Registrado: 19/07/12
Posts: 395
Reputação: +36
Char no Tibia: Billy Poul

na assinatura do vodkart ele boto que nao responde pm =/
info
Grupo: Barão
Registrado: 26/12/11
Posts: 201
Reputação: +18
Char no Tibia: Flaah

Po ele não esta aceitando mensagens ![]()
ALGUEM AJUDA PORFAVOR, VALENDO +REP
info
Grupo: Banidos
Registrado: 25/07/12
Posts: 94
Reputação: +5
Char no Tibia: SevenSiin

Entao procure um topico q ele esta respondendo recentemente e fale com ele por la Vlw abraços;
info
Grupo: Barão
Registrado: 26/12/11
Posts: 201
Reputação: +18
Char no Tibia: Flaah
Quando eu criei a conta deu esse ERRO no console:
Ai quando eu fiz o Reborn deu esse ERRO:
ALGUEM AJUDA PORFAVOR, VALENDO +REP